this.name        = "ixian_ships"; 
this.author      = "8bitapocalypse, addition script by Eric Walch"; 
this.description = "Addition script for the ixian ships."; 
this.version     = "1.1"; 

this.shipExitedWitchspace = function()
{
    if(!System.isInterstellarSpace && System.government > 0)
    {
		if(system.population < 30 && Math.random() < 0.33)
			System.legacy_addShipsAt("ixian_ship", 1, "wpu", [0, 0, Math.random()*0.6+0.1]);
        if(system.population < 25 && Math.random() < 0.50)
			System.legacy_addShipsAt("ixian_ship", 1, "wpu", [0, 0, Math.random()*0.6+0.1]);
    }
}